package net.ibizsys.eclipse.studio.xml;

import net.ibizsys.eclipse.studio.util.StringKit;

/**
 * 应用模块
 * 
 * @author <a href='http://www.weibo.com/xjtoo' target='_blank'>Enmaai</a>
 */
public class IBizAppModule extends IBizSearchableNode
{
	public static final String NODE_PSAPPMODULE = "PSAPPMODULE";

	/**
	 * 代码名称
	 */
	public static final String ATTR_CODENAME = "CODENAME";

	private String codeName;

	@Override
	protected void initAttribute(String name, String value)
	{
		if (StringKit.IsEqual(ATTR_CODENAME, name, true))
		{
			this.codeName = value;
			return;
		}

		super.initAttribute(name, value);
	}

	public String getCodeName()
	{
		return codeName;
	}
}
